package server.entity;

public enum GoodEnum {
    A1(1,"食品"),
    A2(2,"电子产品"),
    A3(3,"文具");


    private int code;
    private String category;

    GoodEnum(int code, String category) {
        this.code = code;
        this.category = category;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }
}
